home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1993 November
/
JCSM Shareware Collection - 1993-11.iso
/
cl720
/
sst115j.lzh
/
SSTMNU.H
< prev
next >
Wrap
Text File
|
1992-07-17
|
2KB
|
35 lines
/* ------------------------------------------------------------------------ */
/* sstmnu.h */
/* */
/* menu header file */
/* */
/* CopyRight (C) 1991,1992 Steven Lutrov. All rights reserved. */
/* ------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------ */
/* menu controller structures */
/* ------------------------------------------------------------------------ */
typedef struct w_menu {
char *mname; /* menu name */
char **mselcs; /* ptr to ptr of menu strings */
void (**func)(int,int); /* ptr to ptr of hook function */
} MENU;
/* ------------------------------------------------------------------------ */
/* menu spacing components */
/* ------------------------------------------------------------------------ */
#define SPC_BETWEEN 0x01 /* menu space between items */
#define SPC_LEFT 0x02 /* left end of menu spacing */
#define SPC_RIGHT 0x04 /* right end of menu spacing */
/* ------------------------------------------------------------------------ */
/* menu functions */
/* ------------------------------------------------------------------------ */
int Mselect (MENU *mn, int h);
void Msetcolour (int area, int bg, int fg, int inten);
void Msetborder (int btype);
void Msettitle (char *title, int just);
void Msetspace (int sp, int a);
void Msetfullwidth (int f);